package zj.com.util;

import android.app.ProgressDialog;
import android.content.Context;

/**
 * Created by xi on 16/6/22.
 */
public class DialogUtil {

    public static ProgressDialog createProgressDialog(Context context,String title,String msg){
        ProgressDialog  dialog = ProgressDialog.show(context, title, msg, true);
        dialog.setCancelable(true);
        return dialog;
    }
}
